package example;

public class TestShape {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Triangle aTriangle = new Triangle(3, 4, 5);
		Rectangle aRectangle = new Rectangle(6, 8);

		System.out.println(aTriangle.toString() + "\nPerimeter"
				+ aTriangle.findPerimeter() + "\nArea:" + aTriangle.findArea());
		System.out.println("\n" + aRectangle.toString() + "\nPerimeter"
				+ aRectangle.findPerimeter() + "\nArea:"
				+ aRectangle.findArea());
	}

}
